body,
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}
* {
  font-family: consolas, PingFang SC, Microsoft YaHei;
  background-attachment:fixed;
}
[v-cloak] {
  visibility: hidden !important;
}
body {
  display: flex;
  align-items: center;
  /*定义body的元素垂直居中*/
  justify-content: center;
  /*定义body的里的元素水平居中*/
  margin-top: -20px;
}
.item {
  position: relative;
}
.item > * {
  text-align: left;
}
.main {
  background-color: #fff;
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-attachment:fixed;
}
.chat {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 100px;
  padding-top: 20px;
  overflow: hidden;
  overflow-y: auto;
  padding-bottom: 20px;
  background-attachment:fixed;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background-color: rgba(50, 50, 50, 0.1);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-button {
  background-color: transparent;
}
::-webkit-scrollbar-corner {
  background: transparent;
}
.form {
  position: fixed;
  left: 0;
  right: 0;
  height: 90px;
  bottom: 0;
  border-top: 1px solid #eee;
  padding: 10px 15px;
  background-color: #fff;
  background-attachment:fixed;
}
.form textarea {
  outline: none;
  resize: none;
  font-size: 16px;
  border: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.mine > * {
  text-align: right;
}
a {
  text-decoration: none;
  color: #333;
}
a:hover {
  color: #ff4500;
}
.chat .title {
  font-size: 18px;
}
.chat .time {
  color: #999;
  font-size: 12px;
  margin: 0px 30px 30px 30px;
}
.chat .item {
  margin: 20px 30px;
  text-align: left;
}
.chat .content {
  max-width: 60%;
  background-color: #eee;
  padding: 8px 15px;
  margin: 10px 0px;
  display: inline-block;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  color: #333;
  font-size: 14px;
  word-wrap: break-word;
  word-break: break-all;
  text-align: left;
}
.item .head {
  position: absolute;
  left: 0px;
  top: 0px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  cursor: pointer;
}
.mine .head {
  position: absolute;
  left: auto;
  right: 0px;
  top: 0px;
}
.item .detail {
  margin-left: 50px;
  margin-right: auto;
}
.mine .detail {
  margin-left: auto;
  margin-right: 50px;
}
.system {
  text-align: center;
  margin-bottom: 10px;
}
.system span {
  background-color: #eee;
  color: #999;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding: 5px 15px;
  font-size: 12px;
}
.relogin {
  position: absolute;
  right: 20px;
  top: 10px;
  z-index: 10;
  text-decoration: none;
  color: #666;
  outline: none;
}
.menu {
  position: fixed;
  right: 20px;
  top: 20px;
  font-size: 14px;
  z-index: 10;
}
.lockscreen {
  position: fixed;
  right: 20px;
  bottom: 130px;
  background-attachment:fixed;
}
.atbox {
  position: fixed;
  left: 0px;
  bottom: 110px;
  background-attachment:fixed;
}
.atbox span {
  font-size: 16px;
}
.lockscreen i {
  color: #999;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}
.at_link {
  font-size: 16px;
  color: #999;
  cursor: pointer;
  /*margin-right: 5px;*/
}
.form .toolbar {
  position: absolute;
  right: 20px;
  bottom: 15px;
}
.detail .img img {
  margin-top: 10px;
  width: 100%;
  max-width: 200px;
  cursor: pointer;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}
.from {
  padding: 1px 5px;
  display: inline-block;
  margin: 0px 5px;
  height: 20px;
  line-height: 20px;
}
.controll_item {
  cursor: pointer;
}

@media only screen and (max-width: 800px) {
    .menu{
      display:none;
    }
}